import base from './base.js'
import en from './en.json'
import zhHansJson from './zh-Hans.json'
import zhHansJs from './zh-Hans.js'
const zhHans = { ...base, ...zhHansJson, ...zhHansJs }
const messages = {
  en,
  'zh-Hans': zhHans
}

const i18nConfig = {
  locale: uni.getLocale(),
  messages
}

export default i18nConfig